package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 *  视图
 *
 * @author code-generate
 * @date 2021-08-06
 */
@Data
@ApiModel(value = "Contract 视图", description = " 视图")
public class ContractVO implements Serializable{
    /**
     * 序号
     */
    @ApiModelProperty(value = "序号")
    @Excel(name = "序号", orderNum = "0")
    private int sid;

        /**
     * 合同ID
     */
    /*@ApiModelProperty(value = "合同ID")
    @Excel(name = "合同ID", orderNum = "0")
    private String contractId;*/

    /**
     * 合同名称
     */
    @ApiModelProperty(value = "合同名称")
    @Excel(name = "合同名称", orderNum = "0")
    private String name;

    /**
     * 合同编码
     */
    @ApiModelProperty(value = "合同编码")
    @Excel(name = "合同编码", orderNum = "0")
    private String contractCode;

    /**
     * 中标日期
     */
    @ApiModelProperty(value = "中标日期(格式:2021/1/1)")
    @Excel(name = "中标日期(格式:2021/1/1)", orderNum = "0")
    @JsonFormat(shape = JsonFormat.Shape.STRING, timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDateTime biddingDate;

    /**
     * 合同金额
     */
    @ApiModelProperty(value = "合同金额(万)")
    @Excel(name = "合同金额(万)", orderNum = "0")
    private BigDecimal biddingMoney;

    /**
     * 服务开始日期
     */
    @ApiModelProperty(value = "服务开始日期")
    @Excel(name = "服务开始日期(格式:2021/1/1)", orderNum = "0")
    @JsonFormat(shape = JsonFormat.Shape.STRING, timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDateTime serviceStartDate;

    /**
     * 服务结束日期
     */
    @ApiModelProperty(value = "服务结束日期")
    @Excel(name = "服务结束日期(格式:2021/1/1)", orderNum = "0")
    @JsonFormat(shape = JsonFormat.Shape.STRING, timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDateTime serviceEndDate;

    /**
     * 企业联络人A
     */
    @ApiModelProperty(value = "企业联络人A")
    @Excel(name = "企业联络人A", orderNum = "0")
    private String companyPersonA;

    /**
     * 企业联络人A联系方式
     */
    @ApiModelProperty(value = "企业联络人A联系方式")
    @Excel(name = "企业联络人A联系方式", orderNum = "0")
    private String companyPersonAPhone;

    /**
     * 企业联络人B
     */
    @ApiModelProperty(value = "企业联络人B")
    @Excel(name = "企业联络人B", orderNum = "0")
    private String companyPersonB;

    /**
     * 企业联络人B联系方式
     */
    @ApiModelProperty(value = "企业联络人B联系方式")
    @Excel(name = "企业联络人B联系方式", orderNum = "0")
    private String companyPersonBPhone;

    /**
     * 监管单位联络人
     */
    @ApiModelProperty(value = "监管单位联络人")
    @Excel(name = "监管单位联络人", orderNum = "0")
    private String managerPerson;

    /**
     * 监管单位联系方式
     */
    @ApiModelProperty(value = "监管单位联系方式")
    @Excel(name = "监管单位联系方式", orderNum = "0")
    private String managerPersonPhone;

    /**
     * 采购单位ID t_sys_dept.c_id
     */
    /*@ApiModelProperty(value = "采购单位ID t_sys_dept.c_id")
    @Excel(name = "采购单位ID t_sys_dept.c_id", orderNum = "0")
    private Integer manageDeptId;*/

    /**
     * 企业ID t_comapny.c_id
     */
    /*@ApiModelProperty(value = "企业ID t_comapny.c_id")
    @Excel(name = "企业ID t_comapny.c_id", orderNum = "0")
    private Integer companyId;*/

    /**
     * 所在项目组ID t_compay_team.c_id
     */
    /*@ApiModelProperty(value = "所在项目组ID t_compay_team.c_id")
    @Excel(name = "所在项目组ID t_compay_team.c_id", orderNum = "0")
    private Integer teamId;*/

    /**
     * 合同状态（-1：停用；0：待审核；1：审核通过；2：审核失败；3：审核中）
     */
    @ApiModelProperty(value = "合同状态（-1：停用；0：待审核；1：审核通过；2：审核失败；3：审核中）")
    @Excel(name = "合同状态", orderNum = "0")
    private String state;

    /**
     * 合同状态描述
     */
    @ApiModelProperty(value = "合同状态描述")
    @Excel(name = "合同状态描述", orderNum = "0")
    private String stateDesc;

    /**
     * 合同是否到期(0:否，1是)
     */
    @ApiModelProperty(value = "合同是否到期(0:否，1是)")
    @Excel(name = "合同是否到期", orderNum = "0")
    private String isTimeout;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Excel(name = "备注", orderNum = "0")
    private String remark;

    /**
     * 标段
     */
    @ApiModelProperty(value = "标段名称")
    @Excel(name = "标段名称", orderNum = "0")
    private String section;

    private boolean isPass;
    private String analysisRes;

    /**
     * 创建时间
     */
    /*@ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间", orderNum = "0")
    private LocalDateTime dbCreateDate;*/

    /**
     * 创建人员ID t_sys_user.c_id
     */
    /*@ApiModelProperty(value = "创建人员ID t_sys_user.c_id")
    @Excel(name = "创建人员ID t_sys_user.c_id", orderNum = "0")
    private Integer dbCreateId;*/

    /**
     * 最后更新时间
     */
    /*@ApiModelProperty(value = "最后更新时间")
    @Excel(name = "最后更新时间", orderNum = "0")
    private LocalDateTime dbLastUpdateDate;*/

    /**
     * 最后更新人员ID t_sys_user.c_id
     */
    /*@ApiModelProperty(value = "最后更新人员ID t_sys_user.c_id")
    @Excel(name = "最后更新人员ID t_sys_user.c_id", orderNum = "0")
    private Integer dbLastUpdateId;*/


}
